package com.buka.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buka.domain.ResponseResult;
import com.buka.pojo.Menu;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
* @createDate 2024-05-28 16:35:11
*/
public interface MenuService extends IService<Menu> {
    public List<String> selectPermsByUserId(Long id);

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult list(int status, String menuName);

    ResponseResult add(Menu menu);

    ResponseResult getMenuById(int id);

    ResponseResult treeSelect();

    ResponseResult roleMenuTreeselect(int id);

    ResponseResult deleteMenu(int id);
}
